package com.lww.springcloudzuul9001;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication
@EnableZuulProxy //开启zuul网关
@CrossOrigin(origins = "*", maxAge = 3600)
public class SpringCloudZuul9001Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringCloudZuul9001Application.class, args);
    }

}
